package com.hongye.manager.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hongye.common.entity.FlowEntity;
import com.hongye.manager.mapper.FlowMapper;
import com.hongye.manager.service.FlowService;
import com.hongye.manager.vo.FlowVo;
import org.springframework.stereotype.Service;

@Service
public class FlowServiceImpl extends ServiceImpl<FlowMapper, FlowEntity> implements FlowService {

    @Override
    public Page<FlowVo> getAll(Page<FlowVo> page) {
        return page.setRecords(this.baseMapper.getAll(page));
    }
}
